import Vue from 'vue'
import App from './App.vue'

// 引入element
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
// 引入路由
import router from './router'
// 引入axios
import axios from "axios";
Vue.config.productionTip = false

//Vue全局挂载axios
Vue.prototype.$http = axios;
//设置baseUrl
Vue.prototype.baseURL = "/index";

// fade/zoom 等
import 'element-ui/lib/theme-chalk/base.css';
// collapse 展开折叠
import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';

Vue.component(CollapseTransition.name, CollapseTransition)



new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
